package bean;

import java.sql.ResultSet;
import java.sql.SQLException;

import common.RowMapper;

public class GoodsImgRowMapper implements RowMapper<GoodsImg> {

	@Override
	public GoodsImg mapper(ResultSet rs) throws SQLException {
		GoodsImg gimg=new GoodsImg();
		gimg.setImgid(rs.getInt("imgid"));
		gimg.setGoodsid(rs.getInt("goodsid"));
		gimg.setImg01(rs.getString("img01"));
		gimg.setImg02(rs.getString("img02"));
		gimg.setImg03(rs.getString("img03"));
		gimg.setImg04(rs.getString("img04"));
		gimg.setImg05(rs.getString("img05"));
		gimg.setImg06(rs.getString("img06"));
		return gimg;
	}

}
